package com.etc.entity;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * 用户
 * 
 * @author Administrator
 * 
 */
public class User {
	@Id
	@Column(name="uId")
	private Integer uId;// 编号
	@Column(name="uName")
	private String uName;// 账号
	@Column(name="uPwd")
	private String uPwd;// 密码
	@Column(name="uNick")
	private String uNick;// 昵称
	@Column(name="uTel")
	private String uTel;// 电话
	@Column(name="uEmail")
	private String uEmail;// 邮箱
	@Column(name="uImg")
	private String uImg;// 头像的存放地址

	public User() {
		// TODO Auto-generated constructor stub
	}

	public User(Integer uId, String uName, String uPwd, String uNick, String uTel, String uEmail, String uImg) {
		super();
		this.uId = uId;
		this.uName = uName;
		this.uPwd = uPwd;
		this.uNick = uNick;
		this.uTel = uTel;
		this.uEmail = uEmail;
		this.uImg = uImg;
	}

	public Integer getuId() {
		return uId;
	}

	public void setuId(Integer uId) {
		this.uId = uId;
	}

	public String getuName() {
		return uName;
	}

	public void setuName(String uName) {
		this.uName = uName;
	}

	public String getuPwd() {
		return uPwd;
	}

	public void setuPwd(String uPwd) {
		this.uPwd = uPwd;
	}

	public String getuNick() {
		return uNick;
	}

	public void setuNick(String uNick) {
		this.uNick = uNick;
	}

	public String getuTel() {
		return uTel;
	}

	public void setuTel(String uTel) {
		this.uTel = uTel;
	}

	public String getuEmail() {
		return uEmail;
	}

	public void setuEmail(String uEmail) {
		this.uEmail = uEmail;
	}

	public String getuImg() {
		return uImg;
	}

	public void setuImg(String uImg) {
		this.uImg = uImg;
	}

	@Override
	public String toString() {
		return "User [uId=" + uId + ", uName=" + uName + ", uPwd=" + uPwd + ", uNick=" + uNick + ", uTel=" + uTel
				+ ", uEmail=" + uEmail + ", uImg=" + uImg + "]";
	}

}
